package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectTypeInfoEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBo;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {

    /**
     * 枚举身份的识别
     */
 SubjectTypeInfoEnum getHandlerType();

    /**
     * 实际的题目的插入
     */
void add(SubjectInfoBo subjectInfoBo);

    SubjectOptionBO query(int subjectId);
}
